const BASE_URL = `${import.meta.env.VITE_APP_BASE_URL}`
export const FILE_UPLOAD_URL = `${BASE_URL}file/upload`

export const uploadFile = (params: any) => {
  return usePost('/file/upload', params, { loading: true })
}
